//
//  RYCAlertView.h
//  testapp
//
//  Created by hemingway payegis on 13-1-21.
//  Copyright (c) 2013年 payegis. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface RYCAlertView : UIAlertView <UIAlertViewDelegate>

- (void)showWithOperation:(void (^)(NSInteger clickedIndex))operation;//用此方法替代原来的show方法

+ (void)showHint:(NSString*)title message:(NSString*)message cancelButtonTitle:(NSString *)cancelButtonTitle operation:(void (^)(NSInteger clickedIndex))operation;
+ (void)showHint:(NSString*)title message:(NSString*)message operation:(void (^)(NSInteger clickedIndex))operation;
+ (void)showConfirm:(NSString*)title message:(NSString*)message operation:(void (^)(NSInteger clickedIndex))operation;
@end
